﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/HomePage.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="Indeco.G24.Website.Home" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
 <asp:WebPartManager ID="WebPartManagerHomePage" runat="server">
    </asp:WebPartManager>
    <div class="divHomeLeft">
        <asp:WebPartZone  ID="WebPartZoneLeftTop" runat="server" SkinID="WebPartZoneTitleAndBorder" AllowLayoutChange="true" HeaderText="Vùng trên bên trái">
            <ZoneTemplate>
                <asp:Panel ID="PanelChuDe" Title="<%$ Resources:Resource, Content %>" runat="server" Height="200px">
                   

                </asp:Panel>
            </ZoneTemplate>           
        </asp:WebPartZone>        
        <asp:WebPartZone ID="WebPartZoneLeftMiddle" SkinID="WebPartZoneNone" runat="server" AllowLayoutChange="true" HeaderText="Vùng ở giữa bên trái">
            <ZoneTemplate>
                <asp:Panel ID="PanelForumInfo" runat="server" Title="Thông tin diễn đàn" Width="100%">
            
                </asp:Panel>

            </ZoneTemplate>
        </asp:WebPartZone>
        <asp:WebPartZone SkinID="WebPartZoneTitleAndBorder" ID="WebPartZoneLeftBottomTitleAndBorder" PartStyle-HorizontalAlign="Center" runat="server" AllowLayoutChange="true" HeaderText="Vùng dưới cùng bên trái">
           <ZoneTemplate>
                <asp:Panel ID="Panel13" Title="Thương hiệu Việt" runat="server" Width="100%">                       
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
               
                </asp:Panel>                
                <asp:Panel ID="PanelAdvertising" Title="Quảng cáo" runat="server" Width="100%" HorizontalAlign="Center">
                    &nbsp;<br />
                    <br />
                    <br />
                            <br />
                </asp:Panel>
                <asp:Panel ID="Panel4" Title="Thống kê" runat="server" Height="192px" Width="100%">
                    <asp:Label ID="lblCulture" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="lblG24SessionId" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="lblIDNhaCungCap" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="lblIDNguoiDung" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="lblIDDiaBan" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="lblUserOnline" runat="server" Text="Label"></asp:Label><br />
                </asp:Panel>
            </ZoneTemplate>
        </asp:WebPartZone>
        <asp:WebPartZone SkinID="WebPartZoneNone" ID="WebPartZoneLeftBottomNone" PartStyle-HorizontalAlign="Center" runat="server" AllowLayoutChange="true" HeaderText="Vùng dưới cùng bên trái">
           <ZoneTemplate>
                <asp:Panel ID="Panel8" Title="Tỷ giá vàng, USD" runat="server" Width="100%" HorizontalAlign="Center">
              <%--  <dxtc:ASPxPageControl SkinID="homeTabPageDefault" ID="ASPxPageControl5" runat="server" ActiveTabIndex="2" Width="100%">
                    <TabPages>
<dxtc:TabPage Text="Gi&#225; v&#224;ng"><Controls>
<asp:Image runat="server" ImageUrl="http://vneconomy.vn/UserFiles/File/chart/2008/04/18/080418085344080418085344GOLD.jpg" Width="159px" ID="Image17"></asp:Image>
</Controls>
</dxtc:TabPage>
<dxtc:TabPage Text="USD"><Controls>
<asp:Image runat="server" ImageUrl="http://vneconomy.vn/UserFiles/File/chart/2008/04/18/080418085347080418085347USD.jpg" Width="157px" ID="Image18"></asp:Image>
</Controls>
</dxtc:TabPage>
<dxtc:TabPage Text="Euro"><Controls>
<asp:Image runat="server" ImageUrl="http://vneconomy.vn/UserFiles/File/chart/2008/04/18/080418085351080418085351EURO.jpg" Width="169px" ID="Image19"></asp:Image>
</Controls>
</dxtc:TabPage>
</TabPages>
                </dxtc:ASPxPageControl>--%>
                </asp:Panel>              
            </ZoneTemplate>
        </asp:WebPartZone>
    </div>
    <div class="divHomeWideTop">
        <asp:WebPartZone  ID="WebPartZoneWideTopCenter" SkinID="WebPartZoneWideTop" runat="server" AllowLayoutChange="true" HeaderText="Vùng rộng trên cùng">
            <ZoneTemplate>
                <asp:SiteMapPath ID="G24SiteMap" runat="server" Font-Size="8pt">
                </asp:SiteMapPath>                
                <asp:Panel ID="PanelWideTop" Visible="false" runat="server" BorderColor="#97B5C2" BorderStyle="Solid" BorderWidth="1px" Width="100%" HorizontalAlign="Left">
                </asp:Panel>
            </ZoneTemplate>            
        </asp:WebPartZone>
    </div>
    <div class="divTopCenterIntroduce">
        <asp:WebPartZone  ID="WebPartZoneTopCenterIntroduce" SkinID="WebPartZoneNone" runat="server" AllowLayoutChange="true" HeaderText="Vùng rộng trên cùng">
            <ZoneTemplate>
                    <asp:Panel Visible="false" ID="Panel10" runat="server" Font-Size="9pt" GroupingText="<%$ Resources:Resource, Communication %>">
                   
                    </asp:Panel>
                    <dxtc:ASPxPageControl Height="300px" SkinID="homeTabPageDefault" ID="ASPxPageControlTabHeader" runat="server" ActiveTabIndex="0" Width="100%">
                        <TabPages>
                            <dxtc:TabPage Text="Nh&#224; cung cấp">            
                                <ContentCollection>
                                    <dxw:ContentControl runat="server">
                                        <asp:Panel runat="server" Width="100%" ID="Panel15tg">
                                        
                                        <TABLE cellSpacing=9><TBODY><TR><TD><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/lilama.jpg" Height="96px" Width="96px" ID="Image21"></asp:Image>





                                         </DIV></DIV></TD><TD><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/viglacera.jpg" Height="96px" Width="96px" ID="Image23"></asp:Image>





                                         </DIV></DIV></TD><TD><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/hacinco.jpg" Height="96px" Width="96px" ID="Image24"></asp:Image>





                                         </DIV></DIV></TD><TD><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/constrexim.jpg" Height="96px" Width="96px" ID="Image25"></asp:Image>





                                         </DIV></DIV></TD></TR><TR><TD style="HEIGHT: 111px"><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/comatel.jpg" Height="96px" Width="96px" ID="Image26"></asp:Image>





                                         </DIV></DIV></TD><TD style="HEIGHT: 111px"><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/xaydungmiendong.jpg" Height="96px" Width="97px" ID="Image29"></asp:Image>





                                         </DIV></DIV></TD><TD style="HEIGHT: 111px"><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/XayDungBuuDien.jpg" Height="96px" Width="96px" ID="Image28"></asp:Image>





                                         </DIV></DIV></TD><TD style="HEIGHT: 111px"><DIV style="BORDER-RIGHT: #ccddee 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccddee 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #ccddee 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #ccddee 2px solid"><DIV style="BORDER-RIGHT: #97b5c2 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #97b5c2 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #97b5c2 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #97b5c2 1px solid"><asp:Image runat="server" ImageUrl="~/Data/Images/CompanyLogo/domatco.jpg" Height="96px" Width="96px" ID="Image27"></asp:Image>





                                         </DIV></DIV></TD></TR></TBODY></TABLE>
                                         
                                         </asp:Panel>                                    </dxw:ContentControl>
                                </ContentCollection>
                            </dxtc:TabPage>
                            <dxtc:TabPage Text="B&#225;o gi&#225; mới">
                                <ContentCollection>
                                    <dxw:ContentControl runat="server">
                                        <br runat="server" ID="Br6"></br>
                                        <br runat="server" ID="Br7"></br>
                                        <br runat="server" ID="Br8"></br>
                                        <br runat="server" ID="Br9"></br>
                                        <br runat="server" ID="Br10"></br>
                                        <br runat="server" ID="Br11"></br>
                                        <br runat="server" ID="Br12"></br>
                                    </dxw:ContentControl>
                                </ContentCollection>                           
                            </dxtc:TabPage>
                            <dxtc:TabPage Text="Sản phẩm giảm gi&#225;">
                                <ContentCollection>
                                    <dxw:ContentControl runat="server"><br id="Br1" runat="server"></br>


                                    </dxw:ContentControl>
                                </ContentCollection>
                            </dxtc:TabPage>
                            </TabPages>
                        <tabstyle wrap="False"></tabstyle>
                    </dxtc:ASPxPageControl>
            </ZoneTemplate>            
        </asp:WebPartZone>
    </div>
    <div class="divRightCenterIntroduce">
        <asp:WebPartZone  ID="WebPartZoneRightCenterIntroduce" SkinID="WebPartZoneTitleAndBorder" runat="server" AllowLayoutChange="true" HeaderText="Vùng trên bên phải">
            <ZoneTemplate>
                <asp:Panel ID="Panel9" runat="server" Width="100%" Height="100px" Title="<%$Resources:Resource, Login %>" Wrap="False" >
                    <center>
                    <asp:LoginView ID="loginView" runat="server">
                        <LoggedInTemplate>
                            <asp:LoginName ID="LoginName1" runat="server" />
                            <asp:LoginStatus ID="LoginStatus1" runat="server" OnLoggingOut="LoginStatus1_LoggingOut" />
                            <br />
                            <br />
                            <asp:HyperLink ID="linkControlPanel" runat="server" NavigateUrl="~/Price/Admin/PriceList.aspx"
                                Visible="False">Quản lý bảng giá</asp:HyperLink>
                        </LoggedInTemplate>
                        <AnonymousTemplate>
                            <asp:Login ID="frmLogIn" ImageUrl="~/Images/plus.gif" runat="server" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
                                Font-Names="Verdana" ForeColor="#333333" LoginButtonText="Đăng nhập"
                                PasswordLabelText="Mật khẩu:" RememberMeText="Nhớ thông tin đăng nhập"
                                UserNameLabelText="Tên sử dụng:" Width="100%" Font-Size="0.8em" TitleText="" BackColor="#EFF3FB" BorderColor="#B5C7DE">
                                <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
                                <TextBoxStyle Font-Size="0.8em" />
                                <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                                <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                                <LayoutTemplate>
                                    <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse">
                                        <tr>
                                            <td>
                                                <table border="0" cellpadding="0" style="width: 100%">
                                                    <tr>
                                                        <td align="right" nowrap="nowrap">
                                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Tên sử dụng:</asp:Label></td>
                                                        <td>
                                                            <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em" Width="90px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                                ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="ctl00$frmLogIn">*</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" nowrap="nowrap" valign="middle">
                                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Mật khẩu:</asp:Label></td>
                                                        <td>
                                                            <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password" Width="90px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                                ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="ctl00$frmLogIn">*</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <asp:CheckBox ID="RememberMe" runat="server" Text="Nhớ thông tin đăng nhập" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="2" style="color: red">
                                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" colspan="2">
                                                            <asp:HyperLink ID="linkStatus" runat="server" NavigateUrl="~/User/Register.aspx">Đăng ký</asp:HyperLink>
                                                            &nbsp; &nbsp;<asp:Button ID="LoginButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                                                BorderStyle="Solid" BorderWidth="1px" CommandName="Login" Font-Names="Verdana"
                                                                Font-Size="0.8em" ForeColor="#284E98" OnClick="LoginButton_Click" Text="Đăng nhập"
                                                                ValidationGroup="ctl00$frmLogIn" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </LayoutTemplate>
                            </asp:Login>
                        </AnonymousTemplate>
                    </asp:LoginView>
                    </center>
                </asp:Panel>
                <asp:Panel ID="Panel12" runat="server" Title="Tin nhanh" Height="123">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td valign="top" style="padding-top:5px; padding-right:5px; padding-bottom:5px; " >
                                <div style="border:solid 1px #97B5C2; padding:1px;">
                                    <asp:Image ID="Image16" Width="64" Height="64" ImageAlign="Middle" runat="server" ImageUrl="~/Data/Images/News/311207034635.jpg_thumb.jpg" />
                                </div>
                            </td>
                            <td valign="top" style="text-align:left; padding-top:3px;" >
                                <asp:Label ID="Label1" runat="server" Font-Size="8pt" Font-Bold="true" Text="Yên tâm cho người nước ngoài"></asp:Label><br />
                                <asp:Label ID="Label4" runat="server" Font-Size="8pt" Text="Làng quê Hà Tây thời đất nóng"></asp:Label><br />
                                   
                                    
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </ZoneTemplate>
        </asp:WebPartZone> 
    </div>
    <div class="divWideBottomCenter1">
    <asp:SiteMapDataSource ID="ProvinceSiteMapDataSource" ShowStartingNode="false" SiteMapProvider="ProvinceSiteMapProvider" runat="server" />
    <dxnb:ASPxNavBar Width="98.8%" GroupContentStyle-Font-Bold="false" Font-Bold="True" ClientInstanceName="NavBarDiaBanThucThi" ID="NavBarDiaBanThucThi" runat="server" DataSourceID="ProvinceSiteMapDataSource" EnableClientSideAPI="True" EnableCallBacks="True" EnableAnimation="True" CssFilePath="~/App_Themes/Glass/{0}/styles.css" CssPostfix="Glass" GroupSpacing="0px" ImageFolder="~/App_Themes/Glass/{0}/" AllowSelectItem="True">
        <GroupContentStyle ItemSpacing="1px">
        </GroupContentStyle>
        <CollapseImage Height="17px" Width="18px" Url="~/App_Themes/BlackGlass/Web/nbCollapse.gif" />
        <ExpandImage Height="17px" Width="18px" Url="~/App_Themes/BlackGlass/Web/nbExpand.gif" />
        <GroupContentTemplate>                             
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
<%--                     <td valign="top" style="padding-top:5px; text-align:left; padding-right:5px; padding-bottom:5px; padding-left:5px; width:25%; border-bottom:solid 1px #dddddd;" >
                       <asp:Label ID="lblID_SanPhamDanhMucCha" runat="server" Text='<%# Container.EvalDataItem("Url").ToString().Substring(29) %>' CssClass="lblHidden"></asp:Label>
               </td>
--%>                          
                    <td valign="top" style="text-align:left; padding:5px; width:75%; border-bottom:solid 1px #dddddd;"   >
                        <%--Bat dau Bang gia--%> 
                        <dxwgv:ASPxGridView ID="BangGiaSanPhamActive" SettingsPager-PageSize="200" ClientInstanceName="grid"
                            runat="server" KeyFieldName="KeyBangGia" AutoGenerateColumns="False" DataSourceID="BangGiaSanPhamDataSource" >
                            <SettingsEditing Mode="Inline" />
                            <SettingsText EmptyDataRow="Kh&#244;ng c&#243; dữ liệu" GroupPanel="K&#233;o thả cột v&#224;o đ&#226;y để xắp xếp" />
                            <Settings ShowFilterRow="True" ShowGroupPanel="True" />
                            <Columns>
                                <dxwgv:GridViewDataTextColumn FieldName="IDNhaCungCapSource.Ten" Caption="Nh&#224; cung cấp" VisibleIndex="0">
                                    <DataItemTemplate>
                                        <asp:Label ID="lblTenNhaCungCap" runat="server" Text='<%# Eval("IDNhaCungCapSource.Ten") %>'></asp:Label>
                                    </DataItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                    <CellStyle HorizontalAlign="Left">
                                    </CellStyle>
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="IDSanPhamSource.IDSanPhamDanhMucSource.Ten" Caption="Danh mục"
                                    VisibleIndex="1">
                                    <DataItemTemplate>
                                        <asp:Label ID="lblTenSanPham" runat="server" Text='<%# Eval("IDSanPhamSource.IDSanPhamDanhMucSource.Ten") %>'></asp:Label>
                                    </DataItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                    <CellStyle HorizontalAlign="Left">
                                    </CellStyle>
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="IDSanPhamSource.Ten" Caption="T&#234;n sản phẩm" VisibleIndex="2">
                                    <DataItemTemplate>
                                        <asp:Label ID="lblTenSanPham" runat="server" Text='<%# Eval("IDSanPhamSource.Ten") %>'></asp:Label>
                                    </DataItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                    <CellStyle HorizontalAlign="Left">
                                    </CellStyle>
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="IDSanPhamSource.DonViTinh" Caption="Đơn vị t&#237;nh" VisibleIndex="3">
                                    <DataItemTemplate>
                                        <asp:Label ID="lblDonViTinh" runat="server" Text='<%# Eval("IDSanPhamSource.DonViTinh") %>'></asp:Label>
                                    </DataItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                    <CellStyle HorizontalAlign="Left">
                                    </CellStyle>
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="TieuChuanKyThuat" Caption="TCKT"
                                    VisibleIndex="4">
                                    <HeaderStyle Font-Bold="True" />
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="DonGia" Caption="Đơn gi&#225;"
                                    VisibleIndex="5">
                                    <DataItemTemplate>
                                        <asp:Label ID="lblDonGia" runat="server" Text='<%# String.Format("{0:N}", Eval("DonGia")) + " " + Eval("IDNgoaiTeSource.KyHieu") %>'></asp:Label>
                                    </DataItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                </dxwgv:GridViewDataTextColumn>
                                <dxwgv:GridViewDataTextColumn FieldName="VAT" Caption="VAT" VisibleIndex="6">
                                    <DataItemTemplate>
                                        <asp:Label ID="lblVAT" runat="server" Text='<%# Eval("VAT") + " %" %>'></asp:Label>
                                    </DataItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                    <CellStyle Wrap="False">
                                    </CellStyle>
                                </dxwgv:GridViewDataTextColumn>           
                            </Columns>
                            <SettingsPager PageSize="200">
                            </SettingsPager>
                            <SettingsLoadingPanel Mode="ShowOnStatusBar" />
                        </dxwgv:ASPxGridView>
                        <asp:Label ID="lblID_SanPhamDanhMucCha" runat="server" Text='<%# Container.EvalDataItem("Url").ToString().Substring(34) %>' CssClass="lblHidden"></asp:Label>
                        <data:BangGiaSanPhamDataSource ID="BangGiaSanPhamDataSource" runat="server" EnableDeepLoad="true"
                            EnableRecursiveDeepLoad="true" SelectMethod="GetPaged" EnableSorting="true">
                            <DeepLoadProperties Method="IncludeChildren" Recursive="true">
                                <Types>
                                    <data:BangGiaSanPhamProperty Name="SanPham" />
                                    <data:SanPhamProperty Name="SanPhamDanhMuc" />
                                    <data:BangGiaSanPhamProperty Name="NhaCungCap" />
                                    <data:BangGiaSanPhamProperty Name="DiaBan" />
                                    <data:BangGiaSanPhamProperty Name="NgoaiTe" />
                                </Types>
                            </DeepLoadProperties>
                            <Parameters>
                                <data:SqlParameter Name="WhereClause" UseParameterizedFilters="false">
                                    <Filters>
                                        <data:BangGiaSanPhamFilter Column="IDDiaBan"  ComparisionType="Equals" ControlID="lblID_SanPhamDanhMucCha" PropertyName="Text" />
                                    </Filters>
                                </data:SqlParameter>
                                <data:SqlParameter Name="orderBy" DefaultValue="ThoiDiemCapNhat">
                                </data:SqlParameter>
                            </Parameters>
                        </data:BangGiaSanPhamDataSource>
                        <%--Het Bang gia--%>
                    </td>
                </tr>
            </table>                    
                                                                         
        </GroupContentTemplate>
    </dxnb:ASPxNavBar>
    </div>
    <div class="divWideBottomCenter2">
        <div class="divWideBottomCenter2Left" style="padding-top:5px;">
            <asp:Panel ID="Panel2" Title="Tin tức mới" runat="server" Width="100%">
                   <asp:DataList ID="DataListTinTucMoi" ItemStyle-VerticalAlign="Top" ItemStyle-Width="234px" runat="server" DataKeyField="IDTinTucDanhMuc" DataSourceID="TinTucDanhMucDataSource" RepeatDirection="Horizontal" RepeatColumns="2" Width="100%">
                        <ItemTemplate>
                            <table width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="border:solid 1px #97B5C2; padding:1px;" nowrap="nowrap">
                                        <div style="background-color:#E0EFF5; height:100%; padding:3px; text-align:left;">
                                            <asp:Label ID="TenLabel" runat="server" Text='<%# Eval("Ten") %>' Font-Bold="true"></asp:Label>
                                        </div>
                                    </td>
                                    <td style="border-bottom:solid 1px #97B5C2; width:100%;">
                                    &nbsp;
                                    </td>                                       
                                </tr>
                                <tr>
                                    <td colspan="2">                                
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td valign="top" style="padding-top:5px; padding-right:5px; padding-bottom:5px; " >
                                                    <div style="border:solid 1px #97B5C2; padding:1px;">
                                                        <asp:Image ID="Image16" Width="64" Height="64" ImageAlign="Middle" runat="server" ImageUrl="~/Data/Images/News/311207033532.jpg_thumb.jpg" />
                                                    </div>
                                                </td>
                                                <td valign="top" style="text-align:left; padding-top:3px;" >
                                                    <asp:Label ID="Label1" runat="server" Font-Size="8pt" Font-Bold="true" Text="Yên tâm cho người nước ngoài"></asp:Label><br />
                                                    <asp:Label ID="Label4" runat="server" Font-Size="8pt" Text="Làng quê Hà Tây thời đất nóng"></asp:Label><br />
                                                       
                                                        
                                                </td>
                                            </tr>
                                        </table>
                                    </td>                                        
                                </tr>                                    
                            </table>                                
                        </ItemTemplate>
                    </asp:DataList>
                    <data:TinTucDanhMucDataSource Sort="ViTri" SelectMethod="GetAll" ID="TinTucDanhMucDataSource" runat="server">
                    </data:TinTucDanhMucDataSource>
                    </asp:Panel>
        </div>
        <div class="divWideBottomCenter2Right">
            <asp:WebPartZone  ID="WebPartZoneRightMiddleNone" SkinID="WebPartZoneNone" runat="server" HeaderText="Vùng ở giữa bên phải">
                <ZoneTemplate>
                </ZoneTemplate>
            </asp:WebPartZone>
            <asp:WebPartZone  ID="WebPartZoneRightBottomTitleAndBorder" SkinID="WebPartZoneTitleAndBorder" runat="server" AllowLayoutChange="true" HeaderText="Vùng dưới cùng bên phải">
                <ZoneTemplate>
                    <asp:Panel ID="Panel7" Title="Bình chọn" runat="server" Width="100%">                       
                        <script type="text/javascript" language="JavaScript" src="http://www.neomyz.com/shared/getpoll.aspx?1bd1e581c9e0f426">
                        </script>                    
                    </asp:Panel>
                </ZoneTemplate>
            </asp:WebPartZone> 
        </div>
    </div>
    <%  
            Response.Write("<script language=\"javascript\" type=\"text/javascript\">");
            Response.Write("function Toggle(node,img)");
            Response.Write("{");
            Response.Write("var displayItem = document.getElementById(node);");
            Response.Write("var displayImg = document.getElementById(img);");
            Response.Write("if (displayItem.style.display == 'none')");
            Response.Write("{");
            Response.Write("displayImg.src = \"" + ResolveClientUrl("~/") + "Images/Minimize.png\";");
            Response.Write("displayImg.width = 15;");
            Response.Write("displayItem.style.display = '';");
            Response.Write("}");
            Response.Write("else");
            Response.Write("{");
            Response.Write("displayImg.src = \"" + ResolveClientUrl("~/") + "Images/Restores.png\";");
            Response.Write("displayImg.width = 15;");
            Response.Write("displayItem.style.display = 'none';");
            Response.Write("}");
            Response.Write("}");
            Response.Write("</script>"); 
    %>
</asp:Content>
